<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:77:"D:\phpstudy_pro\WWW\thinkphp\public/../application/admin\view\index\main.html";i:1647077402;s:68:"D:\phpstudy_pro\WWW\thinkphp\application\admin\view\common\meta.html";i:1647074041;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
<title><?php echo $System['SiteName']['value']; ?></title>

<meta name="keywords" content="<?php echo $System['keywords']['value']; ?>" />
<meta name="description" content="<?php echo $System['description']['value']; ?>" />
<link rel="shortcut icon" href="<?php echo $System['SiteLogo']['value']; ?>" />

<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
<meta http-equiv="Cache-Control" content="no-siteapp" />

<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="/assets/admin/css/font.css">
<link rel="stylesheet" href="/assets/admin/css/xadmin.css">

<script src="/assets/admin/js/jquery.min.js"></script>
<script src="/assets/admin/lib/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="/assets/admin/js/xadmin.js"></script>
</head>
<body>
    <div class="x-body layui-anim layui-anim-up">
        <blockquote class="layui-elem-quote">欢迎管理员：
            <span class="x-red">
                <?php echo $LoginAdmin['nickname']; ?>
            </span>！当前时间：<?php echo date("Y-m-d H:i", time()); ?>
        </blockquote>
        <fieldset class="layui-elem-field">
            <legend>数据统计</legend>
            <div class="layui-field-box">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body">
                            <div class="layui-carousel x-admin-carousel x-admin-backlog" lay-anim="" lay-indicator="inside" lay-arrow="none" style="width: 100%; height: 90px;">
                                <div carousel-item="">
                                    <ul class="layui-row layui-col-space10 layui-this">
                                        <li class="layui-col-xs2">
                                            <a href="javascript:;" class="x-admin-backlog-body">
                                                <h3>会员数</h3>
                                                <p>
                                                    <cite><?php echo $UserCount; ?></cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs2">
                                            <a href="javascript:;" class="x-admin-backlog-body">
                                                <h3>帖子数</h3>
                                                <p>
                                                    <cite><?php echo $PostCount; ?></cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs2">
                                            <a href="javascript:;" class="x-admin-backlog-body">
                                                <h3>回复数</h3>
                                                <p>
                                                    <cite><?php echo $CommentCount; ?></cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs2">
                                            <a href="javascript:;" class="x-admin-backlog-body">
                                                <h3>充值数</h3>
                                                <p>
                                                    <cite><?php echo $RechargeCount; ?></cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs2">
                                            <a href="javascript:;" class="x-admin-backlog-body">
                                                <h3>订单数</h3>
                                                <p>
                                                    <cite>0</cite></p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs2">
                                            <a href="javascript:;" class="x-admin-backlog-body">
                                                <h3>商品数</h3>
                                                <p>
                                                    <cite>0</cite></p>
                                            </a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </fieldset>

        <fieldset class="layui-elem-field">
            <legend>系统信息</legend>
            <div class="layui-field-box">
                <table class="layui-table">
                    <tbody>
                        <tr>
                            <th>服务器地址</th>
                            <td><?php echo $_SERVER['HTTP_HOST'];?></td></tr>
                        <tr>
                            <th>操作系统</th>
                            <td><?php echo PHP_OS; ?></td></tr>
                        <tr>
                            <th>PHP版本</th>
                            <td><?php echo PHP_VERSION;?></td></tr>
                        <tr>
                            <th>PHP运行方式</th>
                            <td><?php echo php_sapi_name();?></td></tr>
                        <tr>
                            <th>MYSQL版本</th>
                            <td><?php echo $MysqlVersion; ?></td></tr>
                        <tr>
                            <th>ThinkPHP</th>
                            <td><?php echo THINK_VERSION; ?></td></tr>
                        <tr>
                            <th>上传附件限制</th>
                            <td><?php echo ini_get('upload_max_filesize');?></td></tr>
                        <tr>
                            <th>执行时间限制</th>
                            <td><?php echo ini_get('max_execution_time');?>s</td></tr>
                    </tbody>
                </table>
            </div>
        </fieldset>
    </div>
</body>
</html>